package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-03-13 23:08:45 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="service")
public class Service {


	@Id
   @Column(name = "id" )
	private int id;

   @Column(name = "consumer_id" )
	private int consumerId;

   @Column(name = "product_id" )
	private int productId;

   @Column(name = "order_id" )
	private int orderId;

   @Column(name = "shop_id" )
	private int shopId;

   @Column(name = "shop" )
	private String shop;

   @Column(name = "date" )
	private LocalDateTime date;

}
